//package com.example.demo.service;
//
//import org.springframework.beans.BeansException;
//import org.springframework.beans.factory.FactoryBean;
//import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
//import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
//import org.springframework.stereotype.Component;
//
///**
// * @Author tyy
// * @Description TODO
// * @Since 2022/2/26
// */
//@Component
//public class ZyBeanFactoryPostProcessor implements BeanFactoryPostProcessor{
//
//    @Override
//    public void postProcessBeanFactory(ConfigurableListableBeanFactory factory) throws BeansException {
//        factory.registerSingleton("s", "BeanFactoryPostProcessor-bean init ");
//
//    }
//}
